package com.bdth.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 徐斌
 * @Date: 2018-07-04 15:54
 */
public class BDMessage implements Serializable {

	@JsonProperty("CreateDate")
	public Date CreateDate;

	@JsonProperty("SendTime")
	public Date SendTime;

	@JsonProperty("Message")
	public String Message;

	@JsonProperty("SendSim")
	public String SendSim;

	@JsonProperty("SendDepid")
	public String SendDepid;

	@JsonProperty("SendDepname")
	public String SendDepname;

	@JsonProperty("RecSim")
	public String RecSim;

	@JsonProperty("RecDepid")
	public String RecDepid;

	@JsonProperty("RecDepname")
	public String RecDepname;

	@JsonProperty("isAnnouncement")
	public Integer isAnnouncement;

	public BDMessage() {
		this.CreateDate = new Date();
		this.SendTime = new Date();
	}


	@JsonProperty("CreateDate")
	public Date getCreateDate() {
		return CreateDate;
	}

	public void setCreateDate(Date createDate) {
		CreateDate = createDate;
	}

	@JsonProperty("SendTime")
	public Date getSendTime() {
		return SendTime;
	}

	public void setSendTime(Date sendTime) {
		SendTime = sendTime;
	}

	@JsonProperty("Message")
	public String getMessage() {
		return Message;
	}

	public void setMessage(String message) {
		Message = message;
	}

	@JsonProperty("SendSim")
	public String getSendSim() {
		return SendSim;
	}

	public void setSendSim(String sendSim) {
		SendSim = sendSim;
	}

	@JsonProperty("SendDepid")
	public String getSendDepid() {
		return SendDepid;
	}

	public void setSendDepid(String sendDepid) {
		SendDepid = sendDepid;
	}

	@JsonProperty("SendDepname")
	public String getSendDepname() {
		return SendDepname;
	}

	public void setSendDepname(String sendDepname) {
		SendDepname = sendDepname;
	}

	@JsonProperty("RecSim")
	public String getRecSim() {
		return RecSim;
	}

	public void setRecSim(String recSim) {
		RecSim = recSim;
	}

	@JsonProperty("RecDepid")
	public String getRecDepid() {
		return RecDepid;
	}

	public void setRecDepid(String recDepid) {
		RecDepid = recDepid;
	}

	@JsonProperty("RecDepname")
	public String getRecDepname() {
		return RecDepname;
	}

	public void setRecDepname(String recDepname) {
		RecDepname = recDepname;
	}

	@JsonProperty("isAnnouncement")
	public Integer getIsAnnouncement() {
		return isAnnouncement;
	}

	public void setIsAnnouncement(Integer isAnnouncement) {
		this.isAnnouncement = isAnnouncement;
	}
}
